﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Pro_Operation.aspx.cs" Inherits="admin_Pro_Operation" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
     <link href="img/admin_css.css" rel="stylesheet" type="text/css" />
          <script type="text/javascript" language="javascript" src="../../script/myAjax.js"></script>
         <SCRIPT>
function loadThreadFollow(t_id,b_id){
	var targetImg =eval("document.all.followImg" + t_id);
	var targetDiv =eval("document.all.follow" + t_id);
	if ("object"==typeof(targetImg)){
		if (targetDiv.style.display!='block'){
			targetDiv.style.display="block";
			
		}else{
			targetDiv.style.display="none";
		}
	}
}
</SCRIPT>


</head>

<body>
    <form id="form1" runat="server">
    <div>
      
    <table width="827" border="0" cellpadding="0" cellspacing="1" bgcolor="#E2E2E2">
  <tr>
    <td height="30" colspan="2" align="center" bgcolor="#757575"  class="font_1">发　布　产　品</td>
  </tr>
  <tr>
    <td width="20%" height="25" align="right" bgcolor="#F2F2F2"><span style="color:Red">*</span>产品分类：</td>
    <td width="80%" bgcolor="#FAFAFA">
    
     <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" AppendDataBoundItems="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Width="120px">
     <asp:ListItem Value="0">全部</asp:ListItem>
    </asp:DropDownList>
    <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" AppendDataBoundItems="True" Width="120px">
    <asp:ListItem Value="0">全部</asp:ListItem>
    </asp:DropDownList>
   <%-- <asp:DropDownList ID="DropDownList3" runat="server" Width="120px" AppendDataBoundItems="True">
    <asp:ListItem Value="0">全部</asp:ListItem>
    </asp:DropDownList>   --%>
           </td>
  </tr>
        <tr>
            <td align="right" bgcolor="#F2F2F2" height="25" width="20%"><span style="color:Red">*</span>地区分类            </td>
            <td bgcolor="#FAFAFA" width="80%">
                
            <asp:DropDownList ID="Ddl_AreaOne" runat="server" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="Ddl_AreaOne_SelectedIndexChanged">
                    <asp:ListItem Value="0">全部</asp:ListItem>
                </asp:DropDownList>&nbsp;
                <asp:DropDownList ID="Ddl_AreaTwo" runat="server" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="Ddl_AreaTwo_SelectedIndexChanged">
                    <asp:ListItem Value="0">全部</asp:ListItem>
               </asp:DropDownList>&nbsp;
                <asp:DropDownList ID="Ddl_AreaThree" runat="server" AppendDataBoundItems="True" >
                    <asp:ListItem Value="0">全部</asp:ListItem>
    </asp:DropDownList>
              </td>
        </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2"><span style="color:Red">*</span>类型：</td>
    <td bgcolor="#FAFAFA">
        <asp:DropDownList ID="DropDownList4" runat="server">
        <asp:ListItem Value="0" Selected>请选择</asp:ListItem>
            <asp:ListItem Value="1">供应</asp:ListItem>
            <asp:ListItem Value="2">采购</asp:ListItem>
            <asp:ListItem Value="3">代理</asp:ListItem>
            <asp:ListItem Value="4">合作</asp:ListItem>
            <asp:ListItem Value="5">招投标</asp:ListItem>
            <asp:ListItem Value="6">融资</asp:ListItem>
            <asp:ListItem Value="7">厂店租售</asp:ListItem>
            <asp:ListItem Value="8">其它</asp:ListItem>
        </asp:DropDownList></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2"><span style="color:Red">*</span>标题：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="TextBox1" runat="server" Width="272px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2">产品图片：</td>
    <td bgcolor="#FAFAFA"><asp:TextBox ID="txtProImg" runat="server" Width="169px"></asp:TextBox><SPAN id=followImg1 style="CURSOR: hand"  onclick=loadThreadFollow(1,5)>上传图片↓</SPAN></td>
  </tr>
    <tr  id=follow1 style="DISPLAY: none">
    <td height="25" align="right" bgcolor="#F2F2F2"></td>
    <td bgcolor="#FAFAFA">

    <asp:FileUpload ID="FileUpload1" runat="server" Width="247px"  Height="22" />
        <asp:Button ID="UpImg" runat="server" Text="上传" OnClick="UpImg_Click"/>        </td>
  </tr>

  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2">产品数量：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="TextBox2" runat="server" Width="45px" Text="1" onkeyup="javascript:if(isNaN(document.all['TextBox2'].value)){alert('请输入有效的数值');this.value='';return false;}"></asp:TextBox>
        0表示长期大量</td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2">包装说明：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="TextBox3" runat="server" Width="169px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2">价格说明：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="TextBox4" runat="server" Width="169px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2">产品规格：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="TextBox5" runat="server" Width="169px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2"><span style="color:Red">*</span>有效期至：</td>
    <td bgcolor="#FAFAFA">
 <asp:DropDownList ID="DropDownList5" runat="server">
        <asp:ListItem Value="0" Selected>请选择</asp:ListItem>
            <asp:ListItem Value="7">7天</asp:ListItem>
            <asp:ListItem Value="15">15天</asp:ListItem>
            <asp:ListItem Value="30">30天</asp:ListItem>
            <asp:ListItem Value="60">60天</asp:ListItem>
            <asp:ListItem Value="90">90天</asp:ListItem>
            <asp:ListItem Value="180">180天</asp:ListItem>
            <asp:ListItem Value="360">360天</asp:ListItem>
      </asp:DropDownList>
 </td>
  </tr>
  <tr>
    <td align="right" bgcolor="#F2F2F2" height="400">详细介绍：</td>
    <td bgcolor="#FAFAFA">
        <ftb:FreeTextBox id="ftbContent" runat="server"></ftb:FreeTextBox></td>
  </tr>
  <tr>
    <td align="right" bgcolor="#F2F2F2" style="height: 25px">联系人：</td>
    <td bgcolor="#FAFAFA" style="height: 25px">
        <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2">电&nbsp;&nbsp;话：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="TextBox8" runat="server" ></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2"><span style="color:Red">*</span>手&nbsp;&nbsp;机：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2">传&nbsp;&nbsp;真：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="TextBox10" runat="server"　></asp:TextBox></td>
  </tr>
    <tr>
    <td height="25" align="right" bgcolor="#F2F2F2"><span style="color:Red">*</span>邮&nbsp;&nbsp;箱：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2">网&nbsp;&nbsp;址：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="TextBox11" runat="server"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#F2F2F2">详细地址：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="TextBox12" runat="server" Width="382px"></asp:TextBox></td>
  </tr>
  <tr bgcolor="#F2F2F2">
    <td height="16" colspan="2" align="right">&nbsp;</td>
  </tr>
 
  <tr>
    <td height="52" align="right" bgcolor="#F2F2F2">&nbsp;</td>
    <td bgcolor="#FAFAFA">&nbsp;<asp:Button ID="Button1" runat="server" Text="确认执行" OnClick="Button1_Click" /></td>
  </tr>
</table>



    
    </div>
    </form>
</body>
</html>
